<#if model??>
package ${model.packageName}.${model.model}<#if model.subModel??>.${model.subModel}</#if>.entity;

import com.raising.framework.entity.BaseEntity;

/**
* ${model.tableDesc}
* @author ${model.authorNm}
* @createTime ${model.createTime}
*/
public class ${model.className}Entity extends BaseEntity<${model.className}Entity>{

<#list model.columns as column>
    /** ${column.columnDesc} */
    private String ${column.columnName};
</#list>

    public ${model.className}Entity() {}

<#list model.columns as column>
    public String get${column.columnName?cap_first}(){
        return ${column.columnName};
    }

    public void set${column.columnName?cap_first}(String ${column.columnName}){
        this.${column.columnName} = ${column.columnName};
    }
</#list>

    @Override
    public String toString() {
        return "${model.className}Entity{" +
    <#list model.columns as column>
        <#if !column_has_next>
            "${column.columnName}='" + ${column.columnName} + '\'' +
        <#else>
            "${column.columnName}='" + ${column.columnName} + '\'' + ", " + 
        </#if>
    </#list>
        '}';
    }
}
</#if>